# apps/questions/urls.py
from django.urls import include, path
from rest_framework.routers import SimpleRouter
from .views import QuestionViewSet

router = SimpleRouter()
router.register(r'', QuestionViewSet, basename='question')

urlpatterns = [
    path('', include(router.urls)),
    # 自定义动作已由 router 自动生成，如：
    # /api/questions/1/increment_view/
]